home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / Tool Chest / Development Platforms / Apple II / Essentials / MPW IIGS Interfaces / AIIGSIncludes / E16.Locator < prev    next >
Encoding:
Text File  |  1993-06-15  |  2.2 KB  |  85 lines  |  [TEXT/MPS ]

  1. ; File:  E16.Locator
  2. ;
  3. ;
  4. ; Copyright Apple Computer, Inc. 1986-93
  5. ; All Rights Reserved
  6. ;
  7. ;
  8. toolNotFoundErr EQU $0001
  9. funcNotFoundErr EQU $0002
  10. sysStrtMtErr EQU $0100  ; can't mount system startup volume
  11. tlBadRecFlag EQU $0103  ; StartStop record invalid
  12. tlCantLoad EQU $0104  ; A tool cannot be loaded
  13. toolVersionErr EQU $0110
  14. messNotFoundErr EQU $0111
  15. messageOvfl EQU $0112  ; No message numbers available
  16. nameTooLong EQU $0113  ; Message name too long
  17. reqNotAccepted EQU $0120 ;SendRequest request not accepted
  18. duplicateName EQU $0121 ;duplicate name for AcceptRequests
  19. invalidSendRequest EQU $0122 ;bad combo of target and sendHow
  20.  
  21. fileInfoType EQU $0001  ; Message type parameter
  22. addMessage EQU $0001  ; action parameter
  23. getMessage EQU $0002  ; action parameter
  24. deleteMessage EQU $0003  ; action parameter
  25. fileInfoTypeGS EQU $0011 ; Message type parameter
  26.  
  27. ; GetMsgHandle flags values
  28. gmhByIndex EQU 0
  29. gmhByType EQU 1
  30. gmhByName EQU 2
  31.  
  32. ; SendRequest/AcceptRequests codes
  33. systemSaysBeep EQU $0001 ;used by SysBeep2
  34. systemSaysUnknownDisk EQU $0002 ;used by HandleDiskInsert
  35. srqGoAway EQU $0003
  36. srqGetrSoundSample EQU $0004
  37. srqSynchronize EQU $0005
  38. srqPlayrSoundSample EQU $0006
  39. systemSaysNewDeskMsg EQU $0008
  40. systemSaysEjectingDev EQU $000E
  41. systemSaysDeskStartUp EQU $0502
  42. systemSaysDeskShutDown EQU $0503
  43. systemSaysFixedAppleMenu EQU $051E
  44. systemSaysMenuKey EQU $0F01
  45. systemSaysDoClipboard EQU $000C
  46. systemSaysForceUndim EQU $000D
  47. srqOpenOrPrint EQU $0010
  48. srqQuit EQU $0011
  49. systemSaysGetSysIcon EQU $1201
  50.  
  51. ; SendRequest sendHow values
  52. stopAfterOne EQU $8000
  53. sendToAll EQU 0
  54. sendToName EQU 1
  55. sendToUserID EQU 2
  56.  
  57. ; StartUpTools flag bits
  58. leaveScreenClean EQU $0004
  59. openResAsAllowed EQU $0008
  60. noResourceMgr EQU $0010 ;for ShutDownTools, too
  61.  
  62. mvReturn EQU $0001  ; like ok for dialogs
  63. mvEscape EQU $0002  ; like cancel for dialogs
  64. sysTool EQU $0000
  65. userTool EQU $8000
  66.  
  67. ; offset constants for MessageRec and MessageRecGS
  68. omessageNext EQU 0
  69. omessageType EQU 4
  70. omessageData EQU 6
  71. omessagePrintFlag EQU 6
  72. ofileNames EQU 8
  73.  
  74. ; offset constants for ToolSpec
  75. otoolNumber EQU 0
  76. ominVersion EQU 2
  77.  
  78. ; offset constants for StartStopRecord
  79. oflags EQU 0
  80. ovideoMode EQU 2
  81. oresFileID EQU 4
  82. odPageHandle EQU 6
  83. onumTools EQU 10
  84. otheTools EQU 12
  85.